<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>后台-会员列表</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="author" content="">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="stylesheet" href="{{ asset('/bootstrap-3.3.5-dist/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/style/css/admin.css') }}">
</head>
<body class="docs">

<div class="search" style="max-width:60%">
    <form class="bs-example bs-example-form" role="form" action="{{ asset('admin/abooklist') }}" method="get">
    <div class="row">
        <div class="col-lg-12">
            <div class="input-group">
                <input type="text" value="" maxlength="60" name="search_text" id="search" placeholder="书名、作者、ISBN" class="form-control">
                <span class="input-group-btn">
                <button type="submit" class="btn btn-default">找书</button>
                 </span>
            </div>
        </div>
    </div>
    </form>
</div>

<table class="table table-hover">
   <caption>总共会员：{{$userscount}}</caption>
   <thead>
      <tr>
         <th>ID</th>
         <th>用户名</th>
         <th>邮箱</th>
         <th>注册时间</th>
         <th>性别</th>
         <th>居住地</th>
         <th>手机号</th>
         <th>余款</th>
         <th>书币</th>
         <th>积分</th>
         <th>操作</th>
         <th>来源</th>
      </tr>
   </thead>
   <tbody>
    @foreach ($users as $user)
      <tr>
         <td>{{ $user->uid }}</td>
         <td><a href="{{url('mobile/uhome/'.$user->uid)}}" target="_blank">{{ $user->user_name }}</a></td>
         <td>{{ $user->email }}</td>
         <td>{{ date('Y-m-d H:i', $user->reg_time) }}</td>
         <td>{{ $user->sex }}</td>
         <td>{{ $user->city }}</td>
         <td>{{ $user->mobile }}</td>
         <td>{{ $user->yukuan }}</td>
         <td>{{ $user->shubi }}</td>
         <td>{{ $user->integral }}</td>
         <td>
         <a href="">编辑</a><br/>
         </td>
         <td>{{ $user->reg_laiyuan }}</td>
      </tr>
    @endforeach
   </tbody>
</table>
<div class="fenye">{!! $users->render() !!}</div>
</body>
</html>